package world0.util;


public abstract class Position {
	
	public static int screenWidth;
	public static int screenHeight;

	public static int screenCenterX(int width) {
		return (screenWidth / 2) - (width / 2);
	}
	
	public static int screenButtomY(int height) {
		return screenHeight - height;
	}
	
	public static int centerY(int height, int height2) {
		return (height / 2) - (height2 / 2);
	}
	
	public static int centerY(int height) {
		return height / 2;
	}
	
	public static int centerX(int width) {
		return width / 2;
	}
}
